package com.rceeslca.modules.cam.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.rceeslca.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 课程
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("cam_course")
public class CamCourse extends BaseEntity {

    private static final long serialVersionUID = 767293750208264311L;

    private String name;

    private String description;

    private Long teacherId;

    private String classRoom;

    private String classTime;

    private Integer maxSize;

    /**0-未开始，1-考勤中，3-已结束**/
    private Integer status;

    private Date startTime;

    private Date endTime;

    /**更新者**/
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updater;

    /**更新时间**/
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateDate;

}
